// 员工列表

interface IStaffListProps {
  style?: string;
  staffItems?: Staff.IStaffItem[];
  onClick?(e: Staff.IStaffItem): void;
}
interface IStaffListData {}
Component<IStaffListData, IStaffListProps>({
  data: {
  },
  props: {},
  methods: {
    handleTap({
      target: {
        dataset: { item }
      }
    }) {
      my.getAuthCode({
        scopes:['order_service'],
        success: (res) => {
          console.log(res, 'order_service')
          this.props.onClick && this.props.onClick(item);

        }
      })

    }
  }
});
